﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCAdminLienHe.ascx.cs" Inherits="UC_Admin_UCAdminLienHe" %>
<asp:MultiView ID="MultiView1" runat="server">

    <asp:View ID="View1" runat="server">
        <marquee behavior="slide"> <h2 style="font-style: italic; color: #FF0000; font-size: 24px">Thông tin góp ý của khách hàng</h2></marquee>
        Lọc theo:
         <asp:DropDownList ID="ddlLoaiLienHe" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlLoaiLienHe_SelectedIndexChanged">
                        <asp:ListItem Selected="True" Value="1">Tất cả Liên Hệ</asp:ListItem>
                        <asp:ListItem Value="2">Liên Hệ Đã Xem</asp:ListItem>
                        <asp:ListItem Value="3">Liên hệ chưa xem</asp:ListItem>
                        </asp:DropDownList>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" OnRowCommand="GridView1_RowCommand1" Width="700px">
            <Columns>
                <asp:BoundField DataField="MA" HeaderText="Mã LH" Visible="False" />
                <asp:BoundField DataField="Ten" HeaderText="Họ Tên" />
                <asp:BoundField DataField="Email" HeaderText="Email" />
                <asp:BoundField DataField="SDT" HeaderText="Số Điện thoại" />
                <asp:TemplateField HeaderText="Trạng thái">
                    <ItemTemplate>
                        <asp:Label ID="Label2" runat="server" Text='<%# CheckTrangThai(Eval("TrangThai")) %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle Width="100px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Thao Tác">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("Ma") %>' CommandName="xem">Xem</asp:LinkButton>
                        &nbsp;|| <%--<asp:LinkButton ID="LinkButton3" runat="server"
                    CommandArgument='<%# Eval("Ma") %>' CommandName="xoa" OnLoad="Delete_Load">Xóa</asp:LinkButton>--%>
                        <asp:LinkButton ID="LinkButton2" runat="server" CommandArgument='<%# Eval("Ma") %>' CommandName="xoa">Xóa</asp:LinkButton>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
            </Columns>
            <FooterStyle BackColor="White" ForeColor="#000066" />
            <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
            <RowStyle ForeColor="#000066" />
            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#007DBB" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#00547E" />
        </asp:GridView>
    </asp:View>
    <asp:View ID="View2" runat="server">
        <%--<div class="sidebar1" id="sidebar">
            <h2>Menu Chức Năng</h2>
            <ul>
                <li><a href="/Page_User/Default.aspx">Hộp thư đã đọc</a></li>
                <li><a href="DefaultAdmin.aspx">Hộp thư chưa đọc</a></li>
                <li><a href="DefaultAdmin.aspx">Tất cả thư</a></li>                
            </ul>
        </div>--%>
        <div id="loginpanelwrap1">
            <div class="loginheader">
                <div class="logintitle">
                    <a href="#">THÔNG TIN PHẢN HỒI</a>
                </div>
                <asp:HiddenField ID="HiddenField1" runat="server" />
            </div>
            <div class="loginform">
                <div class="loginform_row">
                    <label>
                        Họ và tên :</label>
                    <asp:TextBox ID="txthoten" runat="server" Enabled="false" CssClass="loginform_input"></asp:TextBox>
                </div>
                <div class="loginform_row">
                    <label>
                        Email:</label>
                    <asp:TextBox ID="txtemail" runat="server" Enabled="false" CssClass="loginform_input"></asp:TextBox>
                </div>
                <div class="loginform_row">
                    <label>
                        Số điện thoai:
                    </label>
                    &nbsp;<asp:TextBox ID="txtdienthoai" runat="server" Enabled="false" CssClass="loginform_input"></asp:TextBox>
                </div>
                <div class="loginform_row">
                    <label>
                        Nội dung:</label>
                    <asp:TextBox ID="txtghichu" runat="server" Enabled="false" CssClass="loginform_input"></asp:TextBox>
                </div>
                <div class="loginform_row">
                    <asp:CheckBox ID="ckbDaDoc" runat="server" Text="Đã Đọc" AutoPostBack="true" OnCheckedChanged="chkTest_CheckedChanged" />
                </div>
                <div class="loginform_row" style="text-align: center">
                    <asp:Label ID="lblThongBao" runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="#FF3300"></asp:Label>
                </div>
                <div class="loginform_row">
                    <asp:Button ID="btnCapNhat" runat="server" Text="Cập Nhật" CssClass="loginform_submit1" CausesValidation="False" OnClick="bntCapNhat_Click" Enabled="False" />
                    <asp:Button ID="btnQuayLai" runat="server" CssClass="loginform_submit2" OnClick="bntQuayLai_Click" Text="Quay Lại" CausesValidation="False" />
                </div>
                <div class="clear">
                </div>
            </div>
        </div>
    </asp:View>
</asp:MultiView>


